package com.zjhcsoft.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 密码表
 * </p>
 *
 * @author wzya
 * @since 2021-03-29
 */
@TableName("PASSWORD")
public class Password implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID 唯一标识
     */
      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 账号唯一标识
     */
    @TableField("ACCOUNT_ID")
    private Long accountId;

    /**
     * 密码类型 静态密码1手势2指纹3人脸4
     */
    @TableField("CHECK_TYPE")
    private String checkType;

    /**
     * 密码值 密码值
     */
    @TableField("PASSWARD")
    private String passward;

    /**
     * 密码状态 0可用1不可用
     */
    @TableField("PASSWORD_STATUS")
    private String passwordStatus;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private LocalDateTime updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getCheckType() {
        return checkType;
    }

    public void setCheckType(String checkType) {
        this.checkType = checkType;
    }

    public String getPassward() {
        return passward;
    }

    public void setPassward(String passward) {
        this.passward = passward;
    }

    public String getPasswordStatus() {
        return passwordStatus;
    }

    public void setPasswordStatus(String passwordStatus) {
        this.passwordStatus = passwordStatus;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public String toString() {
        return "Password{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", checkType=" + checkType +
        ", passward=" + passward +
        ", passwordStatus=" + passwordStatus +
        ", createdTime=" + createdTime +
        ", updatedTime=" + updatedTime +
        "}";
    }
}
